package com.minidota.model;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author romanupgrate
 */
public class HeroModel implements Cloneable {

    private int id;
    private int typeId;
    private String name;
    private String dir;
    private int agility; //ловкость
    private int strength; //сила
    private int intelligence; //интелект
    private double addAgility; //коеф повышения для ловкость
    private double addStrength; //коеф повышения для сила
    private double addIntelligence; //коеф повышения для интелект
    private int HP; //здоровье
    private int MP; //мана
    private int armor; //защита
    private int damage; //атака
    private double ticksBetweanAttack; //скорость атаки
    private int moveSpeed; //скороксть перемещения
    private int atackRadius;
    private int arrowSpeed;

    public HeroModel clone() {
        HeroModel newObject = null;
        try {
            newObject = (HeroModel) super.clone();
        } catch (CloneNotSupportedException ex) {
        }
        return newObject;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the typeId
     */
    public int getTypeId() {
        return typeId;
    }

    /**
     * @param typeId the typeId to set
     */
    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the dir
     */
    public String getDir() {
        return dir;
    }

    /**
     * @param dir the dir to set
     */
    public void setDir(String dir) {
        this.dir = dir;
    }

    /**
     * @return the agility
     */
    public int getAgility() {
        return agility;
    }

    /**
     * @param agility the agility to set
     */
    public void setAgility(int agility) {
        this.agility = agility;
    }

    /**
     * @return the strength
     */
    public int getStrength() {
        return strength;
    }

    /**
     * @param strength the strength to set
     */
    public void setStrength(int strength) {
        this.strength = strength;
    }

    /**
     * @return the intelligence
     */
    public int getIntelligence() {
        return intelligence;
    }

    /**
     * @param intelligence the intelligence to set
     */
    public void setIntelligence(int intelligence) {
        this.intelligence = intelligence;
    }

    /**
     * @return the addAgility
     */
    public double getAddAgility() {
        return addAgility;
    }

    /**
     * @param addAgility the addAgility to set
     */
    public void setAddAgility(double addAgility) {
        this.addAgility = addAgility;
    }

    /**
     * @return the addStrength
     */
    public double getAddStrength() {
        return addStrength;
    }

    /**
     * @param addStrength the addStrength to set
     */
    public void setAddStrength(double addStrength) {
        this.addStrength = addStrength;
    }

    /**
     * @return the addIntelligence
     */
    public double getAddIntelligence() {
        return addIntelligence;
    }

    /**
     * @param addIntelligence the addIntelligence to set
     */
    public void setAddIntelligence(double addIntelligence) {
        this.addIntelligence = addIntelligence;
    }

    /**
     * @return the armor
     */
    public int getArmor() {
        return armor;
    }

    /**
     * @param armor the armor to set
     */
    public void setArmor(int armor) {
        this.armor = armor;
    }

    /**
     * @return the damage
     */
    public int getDamage() {
        return damage;
    }

    /**
     * @param damage the damage to set
     */
    public void setDamage(int damage) {
        this.damage = damage;
    }

    /**
     * @return the HP
     */
    public int getHP() {
        return HP;
    }

    /**
     * @param HP the HP to set
     */
    public void setHP(int HP) {
        this.HP = HP;
    }

    /**
     * @return the MP
     */
    public int getMP() {
        return MP;
    }

    /**
     * @param MP the MP to set
     */
    public void setMP(int MP) {
        this.MP = MP;
    }

    /**
     * @return the moveSpeed
     */
    public int getMoveSpeed() {
        return moveSpeed;
    }

    /**
     * @param moveSpeed the moveSpeed to set
     */
    public void setMoveSpeed(int moveSpeed) {
        this.moveSpeed = moveSpeed;
    }

    /**
     * @return the ticksBetweanAttack
     */
    public double getTicksBetweanAttack() {
        return ticksBetweanAttack;
    }

    /**
     * @param ticksBetweanAttack the ticksBetweanAttack to set
     */
    public void setTicksBetweanAttack(double ticksBetweanAttack) {
        this.ticksBetweanAttack = ticksBetweanAttack;
    }

    /**
     * @return the atackRadius
     */
    public int getAtackRadius() {
        return atackRadius;
    }

    /**
     * @param atackRadius the atackRadius to set
     */
    public void setAtackRadius(int atackRadius) {
        this.atackRadius = atackRadius;
    }

    /**
     * @return the arrowSpeed
     */
    public int getArrowSpeed() {
        return arrowSpeed;
    }

    /**
     * @param arrowSpeed the arrowSpeed to set
     */
    public void setArrowSpeed(int arrowSpeed) {
        this.arrowSpeed = arrowSpeed;
    }
}
